//
//  CropIntroRightCollectionCell.m
//  AnXin100
//
//  Created by 天质弘耕 on 2018/12/6.
//  Copyright © 2018 tzhg. All rights reserved.
//

#import "CropIntroRightCollectionCell.h"

@interface CropIntroRightCollectionCell ()

@property (nonatomic, strong) UILabel *name;

@end

@implementation CropIntroRightCollectionCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        [self creatView];
        [self setlayout];
        
    }
    return self;
}

- (void)creatView {
    
    self.name = [[UILabel alloc]init];
    self.name.text = @"　秋风用时光的旋律，用桂花的芬芳、苹果的馨香、菊花的灿烂、牵牛花的奔放、一串红的艳丽，把一望无际的田野乡村，演绎得在自然中沉醉，渲染得天地间空旷而又阳刚。酷热的夏天刚刚过去，秋风吹来，秋牵着一个个节气的手，舞动着长袖，用婀娜多姿的舞姿，用变幻神奇的旋律，动听的音符，把蓝天吹得一会白云飘飘，一会云蒸霞蔚，一会仙女舞袖，一会又涌来千顷碧波。更让那成千上万得雀鸟，不顾辛苦劳顿，路途遥远，赶赴银汉，为牛郎织女架起一座相会的鹊桥，就为这对生离死别的鸳鸯说上一晚悄悄话。";
    self.name.textColor = COLOR_ORG;
    [self.contentView addSubview:self.name];
    
}

- (void)setlayout {
    
    self.name.sd_layout
    .leftSpaceToView(self.contentView, 10)
    .topSpaceToView(self.contentView, 10)
    .widthIs(SCREEN_WIDTH-20)
    .heightIs(100);
    
    
}




@end
